package com.wksc.workflow.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Description:用户实体
 * Author: Zero
 * CreateTime: 2013-12-23 11:28
 */
@Entity
@Table(name = "ACT_ID_USER")
public class Users implements Serializable {
    //用户id
    @Id
    @Column(name = "ID_")
    private String userId;
    //版本号
    @Column(name = "REV_")
    private Integer version;
    //姓
    @Column(name = "FIRST_")
    private String firstName;
    //名
    @Column(name = "LAST_")
    private String lastName;
    //邮箱
    @Column(name = "EMAIL_")
    private String email;
    //密码
    @Column(name = "PWD_")
    private String password;
    //图片id
    @Column(name = "PICTURE_ID_")
    private String pictureId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPictureId() {
        return pictureId;
    }

    public void setPictureId(String pictureId) {
        this.pictureId = pictureId;
    }
}
